package com.itbaima.csmall.commons.pojo.order.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 新增订单的DTO类
 *
 * @author Chen
 * @since 2023/2/17 14:19:19
 */
@Data
public class OrderAddDTO implements Serializable {

    private static final long serialVersionUID = 143898823490954763L;
    @ApiModelProperty(value = "用户id",name="userId",example = "UU100")
    private String userId;
    @ApiModelProperty(value = "商品编号",name="commodityCode",example = "PU201")
    private String commodityCode;
    @ApiModelProperty(value = "购买数量",name="count",example = "5")
    private Integer count;
    @ApiModelProperty(value = "总金额",name="money",example = "500")
    private Integer money;

}
